<?PHP
class webLabel extends webControl
{
	var $text = "default";

	function webLabel($attrs)
	{
		parent::webControl($attrs);
		if ( isset($attrs['text']) )
		{
			$this->text = $attrs['text'];
		}
	}

	function Render($writer)
	{
		$writer->Write("<label>");
		$writer->Write($this->text);
		$writer->Write("</label>\n");
	}
}
?>
